import 提交 from '../assets/sounds/submit.mp3';
import 错误 from '../assets/sounds/error.mp3';
import 删除 from '../assets/sounds/delete.mp3';

const sounds = {
  删除,
  错误,
  提交,
}

export default (arg) => {
  let sound = new Audio(sounds[arg]);
  sound.play();
};